#!/usr/bin/env bash

hash powershell 2>/dev/null || { echo >&2 "I require powershell but it's not installed. "; exit 1; }

ResolveFile=$(readlink $0)
if [[ "$ResolveFile" == "" ]]; then
  #statements
  PrefixDir=$(cd `dirname $0`; pwd)
else
  PrefixDir=$(cd `dirname $ResolveFile`; pwd)
fi



powershell -NoLogo -NoProfile -File "$PrefixDir/wgit.ps1" $@
